A1 = readmatrix('10V_alongQ.txt')

x1 = A1(:,1)*2*pi/360
y1 = A1(:,2)*1e12*1.6+0.08

a = 0.01472
b = -0.14188
c = 0.096608
d = 1.39952

f1 = a*sin(4*x1)+b*cos(4*x1)+c*sin(2*x1)+d
f2 = c*sin(2*x1)

hold on
xlim([0, pi])
%plot(x1,f1,'Linewidth',2,'Color',[0 0 0.8])
%scatter(x1,y1,10,[0 0 0.8],'filled')
plot(x1,f2,'Linewidth',2,'Color',[0.8 0 0])
xlabel('Polarization')
ylabel('Photocurrent [pA]')
xlim([pi/2,pi])
ylim([-0.15,0.15])
xticks(pi/2:pi/4:pi)
yticks(-0.1:0.1:0.1)
xticklabels({})
yticklabels({})
%set(gca,'XMinorTick','on','YMinorTick','on')
set(gca,'box','on','Xcolor',[0 0 0],'Ycolor',[0 0 0])
hold off

set(gcf,'Position',[0, 0, 100, 80])